package cn.manjuu.touhou.domain;

public class Card {
	private long _id;
	private long playerId;
	private long cardId;
	private long count;
	private String cardFileName;

	public String getCardFileName() {
		return cardFileName;
	}

	public Card(long cardId, long count, String cardFileName) {
		super();
		this.cardId = cardId;
		this.count = count;
		this.cardFileName = cardFileName;
	}

	public Card(long playerId, long cardId, long count, String cardFileName) {
		super();
		this.playerId = playerId;
		this.cardId = cardId;
		this.count = count;
		this.cardFileName = cardFileName;
	}

	public long getPlayerId() {
		return playerId;
	}

	public void setPlayerId(long playerId) {
		this.playerId = playerId;
	}

	public void setCardFileName(String cardFileName) {
		this.cardFileName = cardFileName;
	}

	public Card() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Card(long cardId) {
		super();
		this.cardId = cardId;
	}

	public Card(long cardId, long count) {
		super();
		this.cardId = cardId;
		this.count = count;
	}

	@Override
	public String toString() {
		return "Card [_id=" + _id + ", playerId=" + playerId + ", cardId="
				+ cardId + ", count=" + count + ", cardFileName="
				+ cardFileName + "]";
	}

	public long get_id() {
		return _id;
	}

	public void set_id(long _id) {
		this._id = _id;
	}

	public long getCardId() {
		return cardId;
	}

	public long getCount() {
		return count;
	}

	public void setCount(long count) {
		this.count = count;
	}

	public void setCardId(long cardId) {
		this.cardId = cardId;
	}

}
